package com.bestcem.xm.qdes.controller.param;

import com.bestcem.xm.common.core.annotation.XmGetQueryWebProperty;
import com.bestcem.xm.common.core.annotation.XmSqlInjection;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoshu.shao
 * @version V1.0
 * @date 2022/9/16
 * @desc 获取发布记录请求参数
 */
@Data
public class GetPublishRecordParam{

    //bean filed 和前端传递的keyname 一样可以不用写
    @ApiModelProperty(value = "项目ID", name = "projectID")
    @XmGetQueryWebProperty(value = "projectID")
    private String projectId;

    private Integer release;

    @XmSqlInjection
    private String sortBy;

    @XmSqlInjection
    private Boolean descending;
}